<div class="btn-group table-picker" uib-dropdown on-toggle="toggle(open)">
  <button class="btn btn-default dropdown-toggle" title="表格" uib-dropdown-toggle>
    <i class="fa fa-table"></i>
    <span class="caret"></span>
  </button>
  <ul class="dropdown-menu" ng-class="{'dropdown-menu-right': position == 'right'}" uib-dropdown-menu>
    <li>
      <table>
        <tbody>
          <tr ng-repeat="row in rows">
            <td ng-class="{'selected':(row &lt;= selectedRow && column &lt;= selectedColumn)}"
                ng-repeat="column in columns" ng-mouseenter="render(row, column)" ng-click="select(row, column)"></td>
          </tr>
        </tbody>
        <tfoot>
          <tr>
            <td colspan="{{columns.length}}" align="center">{{selectedRow}} x {{selectedColumn}}</td>
          </tr>
        </tfoot>
      </table>
    </li>
  </ul>
</div>
